/*
 * Calendar.java
 *
 * Created on February 6, 2008, 2:08 PM
 *
 */

package projectprophet.core;

import java.util.Calendar;

/**
 *
 * @author Gyula Szentirmay
 */
public class ProjectCalendar
{
	public ProjectCalendar(ProjectCalendar parentCalendar)
	{
		this.parentCalendar = parentCalendar;
	}
	
	public boolean isWorkDay(Calendar date)
	{
		if(parentCalendar != null) return parentCalendar.isWorkDay(date);
		else return false;
	}
	
	private ProjectCalendar parentCalendar;
}
